﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ElectronicWMSA.Warehouse
{
    public partial class Picking_MapShowToUserFrm : Form
    {
        public static string userName = "";
        public Picking_MapShowToUserFrm(DataSet ds)
        {
            InitializeComponent();
            dataGridView1.DataSource = ds.Tables[0].DefaultView;
            this.dataGridView1.ClearSelection();
        }
        private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
        {
            SolidBrush b = new SolidBrush(dataGridView1.RowHeadersDefaultCellStyle.ForeColor);
            e.Graphics.DrawString((e.RowIndex + 1).ToString(System.Globalization.CultureInfo.CurrentUICulture), dataGridView1.DefaultCellStyle.Font, b, e.RowBounds.Location.X + 20, e.RowBounds.Location.Y + 4);
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            userName = "307";
            this.Close();
        }

        private void labelShow_Click(object sender, EventArgs e)
        {
            userName = "307";
        }
    }
}
